package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.subscribe;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author: qiyr
 * @date: 2022/6/2 10:29
 * @description: 报表订阅信息实体类
 */
@Entity
@Table(name = "t_report_subscribe_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class ReportSubscribeInfo {

    @Id
    @Column(name = "report_id")
    private String reportId;

    @Column(name = "report_name")
    private String reportName;

    @Column(name = "report_type")
    private String reportType;

    @Column(name = "subscribe_status")
    private String subscribeStatus;

    @Column(name = "title_name")
    private String titleName;

    @Column(name = "attachment_filename")
    private String attachmentFilename;

    @Column(name = "attachment_type")
    private String attachmentType;

    @Column(name = "attachment_type_status")
    private String attachmentTypeStatus;

    @Column(name = "email_template")
    private String emailTemplate;

    @Column(name = "judge_enable")
    private String judgeEnable;

    @Column(name = "judge_condition")
    private String judgeCondition;

    @Column(name = "bi_version")
    private String biVersion;

    public ReportSubscribeInfo() {
    }

    public ReportSubscribeInfo(String reportId, String reportName, String reportType, String subscribeStatus,
                               String titleName, String attachmentFilename, String attachmentType,
                               String attachmentTypeStatus, String emailTemplate , String biVersion) {
        this.reportId = reportId;
        this.reportName = reportName;
        this.reportType = reportType;
        this.subscribeStatus = subscribeStatus;
        this.titleName = titleName;
        this.attachmentFilename = attachmentFilename;
        this.attachmentType = attachmentType;
        this.attachmentTypeStatus = attachmentTypeStatus;
        this.emailTemplate = emailTemplate;
        this.biVersion = biVersion;
    }

    public String getReportId() {
        return reportId;
    }

    public void setReportId(String reportId) {
        this.reportId = reportId;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getSubscribeStatus() {
        return subscribeStatus;
    }

    public void setSubscribeStatus(String subscribeStatus) {
        this.subscribeStatus = subscribeStatus;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String getAttachmentFilename() {
        return attachmentFilename;
    }

    public void setAttachmentFilename(String attachmentFilename) {
        this.attachmentFilename = attachmentFilename;
    }

    public String getAttachmentType() {
        return attachmentType;
    }

    public void setAttachmentType(String attachmentType) {
        this.attachmentType = attachmentType;
    }

    public String getAttachmentTypeStatus() {
        return attachmentTypeStatus;
    }

    public void setAttachmentTypeStatus(String attachmentTypeStatus) {
        this.attachmentTypeStatus = attachmentTypeStatus;
    }

    public String getEmailTemplate() {
        return emailTemplate;
    }

    public void setEmailTemplate(String emailTemplate) {
        this.emailTemplate = emailTemplate;
    }

    public String getJudgeEnable() {
        return judgeEnable;
    }

    public void setJudgeEnable(String judgeEnable) {
        this.judgeEnable = judgeEnable;
    }

    public String getJudgeCondition() {
        return judgeCondition;
    }

    public void setJudgeCondition(String judgeCondition) {
        this.judgeCondition = judgeCondition;
    }

    public void setBiVersion(String biVersion) {
        this.biVersion = biVersion;
    }

    public String getBiVersion() {
        return biVersion;
    }
}
